vprove.h

Go to the documentation of this file.
00001 
00014 #if !defined(VPROVE_H)
00015 #define VPROVE_H
00016 
00017 /******************************************************************************/
00018 
00019 /*----------------------------------------------------------------------------*/
00020 /*                                                                            */
00021 /*                                                                            */
00022 /*                                                                            */
00023 /*----------------------------------------------------------------------------*/
00024 
00029 typedef enum
00030 {
00031   VPTF_None = 0,
00032 
00033   VPTF_FrameSummary   = (1 << 0),
00034   VPTF_GobSummary     = (1 << 1),
00035   VPTF_MbSummary      = (1 << 2),
00036   VPTF_ParseBitStream = (1 << 3),
00037   VPTF_Dct            = (1 << 4),
00038   VPTF_Pixels         = (1 << 5),
00039   VPTF_Interpret      = (1 << 6)
00040   
00041 } VP_TraceFlags;
00042 
00043 /*----------------------------------------------------------------------------*/
00044 /*                                                                            */
00045 /*                                                                            */
00046 /*                                                                            */
00047 /*----------------------------------------------------------------------------*/
00048 
00054 typedef struct
00055 {
00057   const char *name;
00058 
00060   const char *supplier;
00061 
00063   const char *version;
00064   
00066   unsigned long trace;
00067 
00068 } VP_PluginInfo;
00069 
00070 /*----------------------------------------------------------------------------*/
00071 /*                                                                            */
00072 /*                                                                            */
00073 /*                                                                            */
00074 /*----------------------------------------------------------------------------*/
00075 
00080 typedef struct 
00081 {
00083   unsigned char *data;
00084 
00086   long width;
00087 
00089   long height;
00090 
00092   long pitch;
00093 
00094 } VP_Surface;
00095 
00096 /*----------------------------------------------------------------------------*/
00097 /*                                                                            */
00098 /*                                                                            */
00099 /*                                                                            */
00100 /*----------------------------------------------------------------------------*/
00101 
00102 #if defined(_MSC_VER)
00103 
00105 
00106 #define VQ_DECL __declspec(dllimport)
00107 #if defined (_USRDLL)
00108 #define VQ_DEFN __declspec(dllexport)
00109 #else
00111 #define VQ_DEFN
00112 #endif
00113 
00114 #else
00115 #define VQ_DEFN
00116 #define VQ_DECL
00117 #endif
00118 
00120 #if defined(__cplusplus)
00121 #define VQ_EXTERN_C extern "C"
00122 #else
00123 #define VQ_EXTERN_C extern
00124 #endif
00125 
00126 
00127 /******************************************************************************/
00128 #endif // VPROVE_H
00129 /******************************************************************************/
00130 /* End of file                                                                */


Main page Mon May 18 23:12:44 2020